package com.suse.warmstill.service;


import com.suse.warmstill.common.model.ListPageModel;
import com.suse.warmstill.vo.ConditionVO;
import com.suse.warmstill.vo.LoginVo;
import com.suse.warmstill.vo.UserPostVo;
import com.suse.warmstill.vo.UserVo;

import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;

public interface UserSefvice {

    void getLoginImageCode(String uuid, ServletResponse response) throws IOException;

    /*void verifyLoginImageCode(String uuid,String code);*/

    Map login(LoginVo loginVo, HttpServletResponse response, HttpServletRequest request);

    void inserUser(UserPostVo userVo);

    ListPageModel<UserVo> listUsers(ConditionVO conditionVO);

    void LogicDeleteUser(Long userId);

    void foribddenUser(Long userId, int status);

    void logoutUser(Long userId, HttpServletRequest request, HttpServletResponse response);
}
